import { EventEmitter } from 'events';
import AppDispatcher from '../dispatchers/AppDispatcher';

var CHANGE_EVENT = '<%= changeEventName %>';

var _data = {};

export default class <%= storeName %> extends EventEmitter {

	constructor() {
		super()
	}

	emitChange() {
  		this.emit(CHANGE_EVENT);
	}

	addChangeListener(cb) {
  		this.on(CHANGE_EVENT, cb)
	}

	removeChangeListener(cb) {
  		this.removeListener(CHANGE_EVENT, cb);
	}

}
